#pragma once

#define PTR void*
#define SELF (*this)
#define NAP Sleep(1)

#include <string>
#include <vector>
#include <boost/thread.hpp>
#include <boost/signals.hpp>

namespace Pattern
{
	typedef unsigned int Uint;	
	typedef unsigned long ULong;	
	typedef unsigned short UShort;	
	typedef unsigned char Uchar;

	struct Functor
	{
		bool operator==(const Functor& another) const
		{			
			return &another == this;
		}
	};
}